	<?php $this->load->view('common/head')?>
	
	<!-- Begin of Sidebar -->
	<?php $this->load->view('common/sidebar')?>
	
	<?php /*********************************/ ?>
	
		
    <!-- Begin of #main -->
    <div id="main" role="main">
    	
    	<!-- Begin of titlebar/breadcrumbs -->
		<div id="title-bar">
			<ul id="breadcrumbs">
				<li><a href="<?php echo site_url()?>" title="Home"><span id="bc-home"></span></a></li>
				<li><a href="user" title="User">Log</a></li>
				<li class="no-hover">Main</li>
			</ul>
		</div> <!--! end of #title-bar -->
		
		<div class="shadow-bottom shadow-titlebar"></div>
		
		<!-- Begin of #main-content -->
		<div id="main-content">
		<div class="container_12">
			
			<!--  -->
		<div class="grid_12">
				<div class="block-border">
					<div class="block-header">
						<h1 id="for_title">Log </h1><span></span>
					</div>
					<div class="block-content ">
						<div class="load_option">
							123
						</div>
					</div>

				</div>
		</div>
			

			
		<div class="clear height-fix"></div>

		</div></div> <!--! end of #main-content -->
  </div> <!--! end of #main -->
	

	<script>
		$().ready(function() {
		var info = "<table border=1 class='table' id='table'><tr><th></th><th>user_id</th><th>module</th><th>created_on</th><th>activity</th></tr>";
			$.post("<?php echo site_url('admin/log/get_info/')?>/",
				function(data){	
					var obj = jQuery.parseJSON( data )
						$.each(data,function(index, value){
							
							info+="<tr>";
							info+="<td>"+data[index].first_name+" "+data[index].last_name+"</td>";
							info+="<td>"+data[index].user_id+"</td>";
							
							info+="<td>"+data[index].module+"</td>";
							info+="<td>"+data[index].created_on+"</td>";
							info+="<td>"+data[index].activity+"</td>";
							info+="</tr>";
					})
					
					info+="</table>";
					//alert(info)
					$('.load_option').html(info);
					
			}, 'json');
		});
	</script>
	
	
	
	<?php /*********************************/ ?>
	<!-- Begin of footer -->
	<?php $this->load->view('common/footer')?>